package net.zoneland.knowledge.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import java.io.Serializable;
import java.util.List;

/**
 * .
 *
 * @author: bcc
 * 2021/5/25
 */
public class QaResponse implements Serializable {

    private String type;

    private Object data;
//
//    /**
//     * 标记结果是否指向特殊页面.
//     */
//    private String flag;

    @JsonIgnore
    private String answerId;

    private boolean favoriteStatus;

    /**
     * 分词结果.
     */
    private List<String> wordTokens;

    /**
     * .
     *
     * @return type
     */
    public String getType() {
        return type;
    }

    /**
     * .
     *
     * @param type to set
     */
    public void setType(final String type) {
        this.type = type;
    }

    /**
     * .
     *
     * @return data
     */
    public Object getData() {
        return data;
    }

    /**
     * .
     *
     * @param data to set
     */
    public void setData(final Object data) {
        this.data = data;
    }


    /**
     * .
     *
     * @return answerId
     */
    public String getAnswerId() {
        return answerId;
    }

    /**
     * .
     *
     * @param answerId to set
     */
    public void setAnswerId(final String answerId) {
        this.answerId = answerId;
    }

    /**
     * .
     *
     * @return wordTokens
     */
    public List<String> getWordTokens() {

        return wordTokens;
    }

    /**
     * .
     *
     * @param wordTokens to set
     */
    public void setWordTokens(final List<String> wordTokens) {

        this.wordTokens = wordTokens;
    }


    public boolean isFavoriteStatus() {
        return favoriteStatus;
    }

    public void setFavoriteStatus(boolean favoriteStatus) {
        this.favoriteStatus = favoriteStatus;
    }
}
